package com.pg.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pg.entity.Dict;

/**
 * <p>
 * 字典表 服务类
 * </p>
 *
 * @author likl
 * @since 2020-07-06
 */
public interface DictService extends IService<Dict> {

    /**
     * 根据字典Code获取字典值
     *
     * @param dictCode 字典
     * @param code     字典Code
     * @return 字典值
     */
    String getDictByCode(String dictCode, String code);
}
